package com.CmJava.service;


import com.CmJava.annotation.Component;
import com.CmJava.annotation.Lazy;
import com.CmJava.annotation.Scope;

@Scope("prototype")
@Lazy
@Component
public class MyServicePrototypeImpl implements MyService {
    @Override
    public void getUserName() {
        System.out.println("MyServicePrototypeImpl --> 原型，变量名：无，懒加载");
    }
}
